package cn.simple.filetools.annotation;

import org.springframework.core.annotation.AliasFor;

import java.lang.annotation.*;

/**
 * @author jiangjinjian
 * @date 2024/8/27 20:42
 * @description Excel注解
 */
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Excel {

    int cellIndex() default -1;

    @AliasFor("value")
    String titleName() default "";

    @AliasFor("titleName")
    String value() default "";
}
